﻿using System;

namespace Core
{
    [AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
    public class InjectAttribute : BaseAttribute
    {
        public InjectAttribute()
        {
        }
    }

    ////Tag [PostConstruct] to perform post-injection construction actions
    //[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
    //public class PostConstruct : Attribute
    //{
    //    public PostConstruct() { }

    //    public PostConstruct(int p)
    //    {
    //        priority = p;
    //    }

    //    public int priority { get; set; }
    //}
}
